//
//  PushAndRemindController.swift
//  lottery
//
//  Created by admin on 16/2/4.
//  Copyright © 2016年 jin. All rights reserved.
//

import UIKit

class PushAndRemindController: JinBaseTableViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        let group1 = SettingGroup()
        group1.settings.append(Setting(title: "开奖号码推送", titleImage: UIImage(imageLiteral: "handShake"), accessoryImage: UIImage(imageLiteral: "CellArrow"), block: {
            [unowned self] in
            let controller = LottoryNumberViewController()
            controller.navigationItem.title = "开奖号码推送"
            self.navigationController?.pushViewController(controller, animated: true)
            }))
        group1.settings.append(Setting(title: "中奖动画", titleImage: UIImage(imageLiteral: "handShake"), accessoryImage: UIImage(imageLiteral: "CellArrow"), block: {
            [unowned self] in
            let controller = LottoryAnimationViewController()
            controller.navigationItem.title = "中奖动画"
            self.navigationController?.pushViewController(controller, animated: true)
            }))
        group1.settings.append(Setting(title: "比赛直播提醒", titleImage: UIImage(imageLiteral: "handShake"), accessoryImage: UIImage(imageLiteral: "CellArrow"), block: {
            [unowned self] in
            let controller = ScoreViewController()
            controller.navigationItem.title = "比赛直播提醒"
            self.navigationController?.pushViewController(controller, animated: true)
            }))
        group1.settings.append(Setting(title: "购彩定时提醒", titleImage: UIImage(imageLiteral: "handShake"), accessoryImage: UIImage(imageLiteral: "CellArrow"), block: {
            [unowned self] in
            let controller = PushAndRemindController()
            controller.navigationItem.title = "购彩定时提醒"
            self.navigationController?.pushViewController(controller, animated: true)
            }))
        self.settings.append(group1)
    }
}
